package com.ruoyi.zxjd.common.domain;

import java.util.Arrays;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户视图 userVO
 * 
 * @author ruoyi
 */
public class CommonUserVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 机构ID */
    private Long deptId;

    /** 用户名称 */
    private String userName;

    /** 机构名称 */
    private String deptName;

    /** 角色名称 */
    private String rolesName;

    /** 岗位名称 */
    private String postsName;

    /** 手机号码 */
    private String phonenumber;

    /** 部门组 */
    private String[] deptIds;

    /** 角色组 */
    private String[] roleIds;

    /** 岗位组 */
    private String[] postIds;

    /**
     * 会议进度添加时使用
     */
    private Long arrangeId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getRolesName() {
        return rolesName;
    }

    public void setRolesName(String rolesName) {
        this.rolesName = rolesName;
    }

    public String getPostsName() {
        return postsName;
    }

    public void setPostsName(String postsName) {
        this.postsName = postsName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String[] getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(String[] deptIds) {
        this.deptIds = deptIds;
    }

    public String[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String[] roleIds) {
        this.roleIds = roleIds;
    }

    public String[] getPostIds() {
        return postIds;
    }

    public void setPostIds(String[] postIds) {
        this.postIds = postIds;
    }

    public Long getArrangeId() {
        return arrangeId;
    }

    public void setArrangeId(Long arrangeId) {
        this.arrangeId = arrangeId;
    }

    @Override
    public String toString() {
        return "CommonUserVO{" +
                "userId=" + userId +
                ", deptId=" + deptId +
                ", userName='" + userName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", rolesName='" + rolesName + '\'' +
                ", postsName='" + postsName + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", deptIds=" + Arrays.toString(deptIds) +
                ", roleIds=" + Arrays.toString(roleIds) +
                ", postIds=" + Arrays.toString(postIds) +
                ", arrangeId=" + arrangeId +
                '}';
    }
}
